package com.liu.design.structure.proxy.jdk;

import com.liu.design.structure.proxy.jdk.base.Target;
import com.liu.design.structure.proxy.jdk.base.TargetInterface;

/**
 * @author LIU
 * @version 1.0
 * @description: 动态代理
 * @date 2022/12/19 16:11
 */
public class Test {
    public static void main(String[] args) {
        Target target = new Target();
        TargetInterface proxy = JdkProxyUtil.getProxy(target);

        proxy.coreWork();
    }
}
